package com.jemmyee.pizza.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @author qiuchao 2010-12-21
 */
@Entity
@Table(name = "excerpt")
public class Excerpt implements java.io.Serializable {
	private Integer excerptId;
	private String personNumber;
	private String personName;
	private String address;
	private Double readAmount;
	private Double gasMoney;
	private Double gasAmount;
	private Date excerptTime;
	private String personCard;
	private String personPhone;
	private Integer payStatus;
	private Integer gasType;
	private Date payTime;
	private Integer payWise;
	
	@GenericGenerator(name = "generator", strategy = "increment")
	@Id
	@GeneratedValue(generator = "generator")
	
	@Column(name = "excerpt_id", unique = true, nullable = false)
	public Integer getExcerptId() {
		return excerptId;
	}

	public void setExcerptId(Integer excerptId) {
		this.excerptId = excerptId;
	}

	@Column(name = "person_number",length=200)
	public String getPersonNumber() {
		return personNumber;
	}

	public void setPersonNumber(String personNumber) {
		this.personNumber = personNumber;
	}

	@Column(name = "person_name",length=200)
	public String getPersonName() {
		return personName;
	}

	public void setPersonName(String personName) {
		this.personName = personName;
	}

	@Column(name = "address",length=200)
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "read_amount")
	public Double getReadAmount() {
		return readAmount;
	}

	public void setReadAmount(Double readAmount) {
		this.readAmount = readAmount;
	}

	@Column(name = "gas_money")
	public Double getGasMoney() {
		return gasMoney;
	}

	public void setGasMoney(Double gasMoney) {
		this.gasMoney = gasMoney;
	}

	@Column(name = "gas_amount")
	public Double getGasAmount() {
		return gasAmount;
	}

	public void setGasAmount(Double gasAmount) {
		this.gasAmount = gasAmount;
	}

	@Column(name = "excerpt_time")
	public Date getExcerptTime() {
		return excerptTime;
	}

	public void setExcerptTime(Date excerptTime) {
		this.excerptTime = excerptTime;
	}

	@Column(name = "person_card",length=200)
	public String getPersonCard() {
		return personCard;
	}

	public void setPersonCard(String personCard) {
		this.personCard = personCard;
	}

	@Column(name = "person_phone",length=200)
	public String getPersonPhone() {
		return personPhone;
	}

	public void setPersonPhone(String personPhone) {
		this.personPhone = personPhone;
	}

	@Column(name = "pay_status")
	public Integer getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}

	@Column(name = "gas_type")
	public Integer getGasType() {
		return gasType;
	}

	public void setGasType(Integer gasType) {
		this.gasType = gasType;
	}

	@Column(name = "pay_time")
	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	@Column(name = "pay_wise")
	public Integer getPayWise() {
		return payWise;
	}

	public void setPayWise(Integer payWise) {
		this.payWise = payWise;
	}

}
